<?php
include 'includes.php';




$boss = R::load('bosses', $_GET['id']);
?>


<!-- Bootstrap core CSS -->
<html lang="en">
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <meta name="description" content="">
        <meta name="author" content="">
        <link rel="shortcut icon" href="../../assets/ico/favicon.ico">
        <link href="bootstrap/css/bootstrap.min.css" rel="stylesheet">
        <link href="bootstrap/css/bootstrap.css" rel="stylesheet">
        <link href="bootstrap/css/css.css" rel="stylesheet">
        <script type="text/javascript" src="bootstrap/js/jquery-1.11.0.min.js"></script>

        <title>The Pengüins mafia Bis List - Editar PJ</title>

    </head>


<?php
include './cabecera.php';


?>


<!-- Main jumbotron for a primary marketing message or call to action -->


<div class="container contenido">

    <div class="page-header">
        <h2>Items <small>Añadir item a: <?php echo $boss->nombre ?></small></h1>
    </div>
</div>

<?php
if (isset($_SESSION['user']) && $_SESSION['user']['permisos'] == 'admin') {
    ?>

    <div class="container">
        <!-- Example row of columns -->
        <div class="row">
            <div class="col-md-4">
                <form role="form" method="POST" action="itemanadido.php">
                    <div class="form-group">                    
                        <input type="Text" class="form-control" id="exampleInputEmail1" placeholder="Link Wowhead Heroico" name="linkH" required>
                        <input type="Text" class="form-control" id="exampleInputEmail1" placeholder="Link Wowhead Heroico Warforged" name="linkHW" required>
                        <input class="form-control" id="disabledInput" type="hidden" value ="<?php echo $boss->id ?>" name='idboss'>
                        <br />
                        <label for="inputEmail3">Slot</label>
                        <select class="form-control" name="slot">
                            <optgroup label="------------------------------"></optgroup>
                            <option>Cabeza</option>
                            <option>Hombreras</option>
                            <option>Brazales</option>
                            <option>Guantes</option>
                            <option>Neck</option>
                            <option>Pechera</option>
                            <option>Piernas</option>
                            <option>Cinturon</option>
                            <option>Botas</option>
                            <option>Anillo</option>
                            <option>Trinket</option>
                            <option>Capa</option>
                            <optgroup label="------------------------------"></optgroup>
                            <option>Daga</option>
                            <option>Armas de puño</option>
                            <option>Hacha 1 mano</option>
                            <option>Maza de 1 mano</option>
                            <option>Espada de 1 mano</option>
                            <option>Armas de asta</option>
                            <option>Baston</option>
                            <option>Hacha 2 manos</option>
                            <option>Maza de 2 manos</option>
                            <option>Espada de 2 manos</option>
                            <option>Arco</option>
                            <option>Ballesta</option>
                            <option>Escopeta</option>
                            <option>Varita</option>
                            <optgroup label="------------------------------"></optgroup>
                            <option>Escudo</option>
                            <option>Off hand</option>   
                        </select>                
                        <br />
                        <label for="inputEmail3">Tipo</label>
                        <select class="form-control" name="tipo">
                            <option>Tela</option>
                            <option>Cuero</option>
                            <option>Malla</option>
                            <option>Placa</option>
                            <option>Arma/Off Hand</option>
                            <option>Neck/Anillo/Trinket</option>
                        </select>                
                    </div>
                    <br />
                    <button type="submit" class="btn btn-success">Siguiente</button>
                </form>
            </div>
        </div>
        <hr>

    </div> <!-- /container -->
    <?php
}
?>
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->


<?php
include 'pie.php';
?>